#include "Poll.hpp"

using namespace SelectModule;
int main(int argc, char *argv[])
{
    if (argc != 2)
    {
        std::cout << "use ./select + port";
        return 1;
    }
    uint16_t port = std::stoi(argv[1]);
    std::shared_ptr<PollServer> _ssvr = std::make_shared<PollServer>(port);

    _ssvr->Loop();
    return 0;
}